﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductMonitor.Models
{
    /// <summary>
    /// 缺岗数据模型
    /// </summary>
    class StuffOutWorkModel
    {
        /// <summary>
        /// 员工姓名
        /// </summary>
        public string StuffName { get; set; }
        /// <summary>
        /// 职位
        /// </summary>
        public string Position { get; set; }
        /// <summary>
        /// 缺岗时长
        /// </summary>
        public int OutWorkHour { get; set; }

        /// <summary>
        /// 显示宽度
        /// </summary>
        public double ShowWidth { 
            get 
            {
                return (double)this.OutWorkHour*60/100;
            } 
        }
    }
}
